#ifndef MARKEDPROCESSMANAGERDIALOG_H
#define MARKEDPROCESSMANAGERDIALOG_H

#include <QDialog>
#include "MarkedGameManager.h"

namespace Ui {
class MarkedProcessManagerDialog;
}

class MarkedProcessManagerDialog : public QDialog
{
    Q_OBJECT

public:
    explicit MarkedProcessManagerDialog(MarkedGameManager *manager, QWidget *parent = nullptr);
    ~MarkedProcessManagerDialog();

signals:
    void markedProcessUpdated();

private slots:
    // 加载已标记的进程列表
    void loadMarkedProcesses();
    // 删除选中进程
    void onDeleteBtnClicked();
    // 刷新进程列表
    void onRefreshBtnClicked();

private:
    Ui::MarkedProcessManagerDialog *ui;
    MarkedGameManager *m_markedManager;
};

#endif // MARKEDPROCESSMANAGERDIALOG_H
